﻿local QI = DailyIntake.QuestItems;
local Localize = DailyIntake.Localize;

-- Add item: Winter Hyacinth; http://www.wowhead.com/?item=45000
local function WinterHyacinth()
    return not UnitOnTaxi("player")
        -- must have 4 x Winter Hyacinth
        and GetItemCount(45000) == 4
        
        -- must be in Crystalsong Forest
        and GetZoneText() == Localize("Dragonblight")
        
        -- must be in propper area
        and QI.PlayerIsCloseTo(0.93205398321152, 0.2602023482322, 0.0044)
        
        -- must not have completed quest objective yet
        and GetItemCount(44978) ~= 1;
end;
QI.RegisterQuestItem(45000, QI.Priority.Normal, WinterHyacinth);


